<?php
$form = $this->beginWidget('CActiveForm', array(
    'id' => 'group-form',
    'enableAjaxValidation' => false,
        ));
?>

<fieldset>
    <legend>Add Group Form</legend>
    <div class="clearfix">
        <?php echo $form->labelEx($model, 'name'); ?>
        <div class="input">
            <?php echo $form->textField($model, 'name', array('class' => 'xlarge', 'size' => 60, 'maxlength' => 128)); ?>
            <?php //echo $form->error($model, 'name'); ?>
        </div>
    </div>
</fieldset>

<?php //echo $form->errorSummary($model); ?>

<div class="actions">
    <?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save', array('class' => 'btn primary')); ?>
</div>

<?php $this->endWidget(); ?>